package com.mutual.help.service.Impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.mutual.help.dao.CommentMapper;
import com.mutual.help.dao.QuestionMapper;
import com.mutual.help.entity.Comment;
import com.mutual.help.entity.Question;
import com.mutual.help.service.CommentService;
import com.mutual.help.service.QuestionService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CommentServiceImpl extends ServiceImpl<CommentMapper, Comment> implements CommentService {

    @Override
    public List<Comment> getQuestionComment(Integer questionId) {
        return baseMapper.getQuestionComment(questionId);
    }
}
